{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
<!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
		    <form action="" method="post">
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title">课程表基本设置</p>
                </div>
                    <div class="box-body">
                         <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   上午课时：
							  </label>
							  <div class="input-group col-md-5 col-sm-12 col-xs-12">
								   <input type="number" class="form-control" name="set_am" value="{%$set_data.set_am%}">
							  </div> 
				         </div>  
						 <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   下午课时：
							  </label>
							  <div class="input-group col-md-5 col-sm-12 col-xs-12">
								   <input type="number" class="form-control" name="set_pm" value="{%$set_data.set_pm%}">
							  </div> 
				         </div> 
                         <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   上课时间：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   {%foreach from=$week_lists key=key item=value%}
								   <label class="choice"><input type="checkbox" name="set_week[]" value="{%$key%}" {%if $value.is_check=='1'%}checked{%/if%}> {%$value.name%} </label>
								   {%/foreach%}
							  </div> 
				         </div> 
						 <div class="form-group">
							  <label  class="col-md-3 control-label text-right">
								   课程表模式：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   <label class="choice"><input type="radio" name="set_double" value="1" {%if $set_data.set_double=='1'%}checked{%/if%}> 不分单双周</label>
								   <label class="choice"><input type="radio" name="set_double" value="2" {%if $set_data.set_double=='2'%}checked{%/if%}>单双周</label>
							  </div> 
				         </div>
                         <div class="form-group">
							  <label for="inputPassword3" class="col-md-3 control-label text-right">
								   请假无需扣除原因：
							  </label>
							  <div class="input-group col-md-6 col-sm-12 col-xs-12">
								   {%foreach from=$free_lists key=key item=value%}
								   <label class="choice"><input type="checkbox" name="set_free[]" value="{%$key%}" {%if $value.is_check=='1'%}checked{%/if%}> {%$value.name%} </label>
								   {%/foreach%}
							  </div> 
				         </div> 	  						   
				    </div><!--box-body -->
					<div class="box-footer text-center">
					     <button type="submit" class="btn btn-primary">确 定</button>
					</div>
				</form>
             </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
<!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
